
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ccache%5CCacheManager%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:28 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:16 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="componentsb693.html" target="components">transfer.com.cache</a>
</span>
<BR>
Component CacheManager</H2>


<PRE>
<B>transfer.com.cache.CacheManager</B>
</PRE>


<HR>
Manages data persistance


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="contentf24f.html" target="_self">CacheManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="contentf50c.html">CacheConfigManager</a> cacheConfigManager,&nbsp;<a href="contenta219.html">FacadeFactory</a> facadeFactory,&nbsp;<a href="content5093.html">JavaLoader</a> javaLoader)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#add()">add</A></B>(<a href="nativetypes.html#detail_any">any</a> softRef)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a Transfer Object to the Pool
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_string" target="_self">string</a></CODE></TD>
	<TD><CODE><B><A HREF="#cleanKey()">cleanKey</A></B>(<a href="nativetypes.html#detail_string">string</a> class,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes sure the key is formatted properly
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#discard()">discard</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removes a transfer from the cache
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content3bbf.html" target="_self">TransferObject</a></CODE></TD>
	<TD><CODE><B><A HREF="#get()">get</A></B>(<a href="nativetypes.html#detail_string">string</a> class,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gets a TransferObject from the pool
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="contentf50c.html" target="_self">CacheConfigManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#getCacheConfigManager()">getCacheConfigManager</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content479a.html" target="_self">CacheSynchronise</a></CODE></TD>
	<TD><CODE><B><A HREF="#getCacheSynchronise()">getCacheSynchronise</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="contenta219.html" target="_self">FacadeFactory</a></CODE></TD>
	<TD><CODE><B><A HREF="#getFacadeFactory()">getFacadeFactory</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content5093.html" target="_self">JavaLoader</a></CODE></TD>
	<TD><CODE><B><A HREF="#getJavaLoader()">getJavaLoader</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2861.html" target="_self">MethodInvoker</a></CODE></TD>
	<TD><CODE><B><A HREF="#getMethodInvoker()">getMethodInvoker</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content7dd0.html" target="_self">ObjectManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#getObjectManager()">getObjectManager</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content530f.html" target="_self">SoftReferenceHandler</a></CODE></TD>
	<TD><CODE><B><A HREF="#getSoftReferenceHandler()">getSoftReferenceHandler</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2977.html" target="_self">ValidateCacheState</a></CODE></TD>
	<TD><CODE><B><A HREF="#getValidateCacheState()">getValidateCacheState</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_boolean" target="_self">boolean</a></CODE></TD>
	<TD><CODE><B><A HREF="#have()">have</A></B>(<a href="nativetypes.html#detail_string">string</a> class,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks if the Transfer is persistent in this
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_boolean" target="_self">boolean</a></CODE></TD>
	<TD><CODE><B><A HREF="#isTransactionScoped()">isTransactionScoped</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is this transaction scoped or not
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#register()">register</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers the TransferObject for caching with a soft reference, returns java.lang.ref.SoftReference
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#retrieveCache()">retrieveCache</A></B>(<a href="nativetypes.html#detail_string">string</a> class)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a com.compoundtheory.objectcache.CacheManager
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setCacheConfigManager()">setCacheConfigManager</A></B>(<a href="contentf50c.html">CacheConfigManager</a> CacheConfigManager)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setCacheSynchronise()">setCacheSynchronise</A></B>(<a href="content479a.html">CacheSynchronise</a> CacheSynchronise)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setFacadeFactory()">setFacadeFactory</A></B>(<a href="contenta219.html">FacadeFactory</a> FacadeFactory)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setJavaLoader()">setJavaLoader</A></B>(<a href="content5093.html">JavaLoader</a> JavaLoader)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setMethodInvoker()">setMethodInvoker</A></B>(<a href="content2861.html">MethodInvoker</a> MethodInvoker)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setObjectManager()">setObjectManager</A></B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setSoftReferenceHandler()">setSoftReferenceHandler</A></B>(<a href="content530f.html">SoftReferenceHandler</a> SoftReferenceHandler)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setValidateCacheState()">setValidateCacheState</A></B>(<a href="content2977.html">ValidateCacheState</a> ValidateCacheState)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content3bbf.html" target="_self">TransferObject</a></CODE></TD>
	<TD><CODE><B><A HREF="#synchronise()">synchronise</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;syncronises the data, and returns the cached TransferObject if there is one, otherwise returns the original TransferObject
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_numeric" target="_self">numeric</a></CODE></TD>
	<TD><CODE><B><A HREF="#trimTrailingDecimalZeros()">trimTrailingDecimalZeros</A></B>(<a href="nativetypes.html#detail_numeric">numeric</a> number)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes trailing decimal zeros - makes sure numeric values come through the same 
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_boolean" target="_self">boolean</a></CODE></TD>
	<TD><CODE><B><A HREF="#validateIsCached()">validateIsCached</A></B>(<a href="content3bbf.html">TransferObject</a> transfer)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;validates if a TransferObject is the same one as in cache
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="add()"><!-- --></A><H3>
add</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>add</B>(<a href="nativetypes.html#detail_any">any</a> softRef)</PRE>
<DL>
  <DD>
  	
  	
		Adds a Transfer Object to the Pool
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> softRef</code> - java.lang.ref.SoftReference: The soft ref to the transfer object to be stored</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="cleanKey()"><!-- --></A><H3>
cleanKey</H3>

<PRE>
public <A HREF="nativetypes.html#detail_string" title="">string</A> <B>cleanKey</B>(<a href="nativetypes.html#detail_string">string</a> class,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</PRE>
<DL>
  <DD>
  	
  	
		Makes sure the key is formatted properly
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> class</code> - The name of the class</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> key</code> - The key for the id of the data</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="discard()"><!-- --></A><H3>
discard</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>discard</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		removes a transfer from the cache
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to be stored</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="get()"><!-- --></A><H3>
get</H3>

<PRE>
public <A HREF="content3bbf.html" title="">transfer.com.TransferObject</A> <B>get</B>(<a href="nativetypes.html#detail_string">string</a> class,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</PRE>
<DL>
  <DD>
  	
  	
		gets a TransferObject from the pool
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> class</code> - The name of the class</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> key</code> - The key for the id of the data</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getCacheConfigManager()"><!-- --></A><H3>
getCacheConfigManager</H3>

<PRE>
private <A HREF="contentf50c.html" title="">transfer.com.cache.CacheConfigManager</A> <B>getCacheConfigManager</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getCacheSynchronise()"><!-- --></A><H3>
getCacheSynchronise</H3>

<PRE>
private <A HREF="content479a.html" title="">transfer.com.cache.CacheSynchronise</A> <B>getCacheSynchronise</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getFacadeFactory()"><!-- --></A><H3>
getFacadeFactory</H3>

<PRE>
private <A HREF="contenta219.html" title="">transfer.com.facade.FacadeFactory</A> <B>getFacadeFactory</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getJavaLoader()"><!-- --></A><H3>
getJavaLoader</H3>

<PRE>
private <A HREF="content5093.html" title="">transfer.com.util.JavaLoader</A> <B>getJavaLoader</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getMethodInvoker()"><!-- --></A><H3>
getMethodInvoker</H3>

<PRE>
private <A HREF="content2861.html" title="">transfer.com.dynamic.MethodInvoker</A> <B>getMethodInvoker</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getObjectManager()"><!-- --></A><H3>
getObjectManager</H3>

<PRE>
private <A HREF="content7dd0.html" title="">transfer.com.object.ObjectManager</A> <B>getObjectManager</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getSoftReferenceHandler()"><!-- --></A><H3>
getSoftReferenceHandler</H3>

<PRE>
private <A HREF="content530f.html" title="">transfer.com.cache.SoftReferenceHandler</A> <B>getSoftReferenceHandler</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getValidateCacheState()"><!-- --></A><H3>
getValidateCacheState</H3>

<PRE>
private <A HREF="content2977.html" title="">transfer.com.cache.ValidateCacheState</A> <B>getValidateCacheState</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="have()"><!-- --></A><H3>
have</H3>

<PRE>
public <A HREF="nativetypes.html#detail_boolean" title="">boolean</A> <B>have</B>(<a href="nativetypes.html#detail_string">string</a> class,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</PRE>
<DL>
  <DD>
  	
  	
		Checks if the Transfer is persistent in this
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> class</code> - The name of the class</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> key</code> - The key for the id of the data</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="contentf24f.html" title="">CacheManager</A> <B>init</B>(<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="contentf50c.html">CacheConfigManager</a> cacheConfigManager,&nbsp;<a href="contenta219.html">FacadeFactory</a> facadeFactory,&nbsp;<a href="content5093.html">JavaLoader</a> javaLoader)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> objectManager</code> - Need to object manager for making queries</DD>
			
			  <DD><code><a href="contentf50c.html">CacheConfigManager</a> cacheConfigManager</code> - The cache config manager</DD>
			
			  <DD><code><a href="contenta219.html">FacadeFactory</a> facadeFactory</code> - The facade factory to access caches</DD>
			
			  <DD><code><a href="content5093.html">JavaLoader</a> javaLoader</code> - The JavaLoader for loading the caching objects</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="isTransactionScoped()"><!-- --></A><H3>
isTransactionScoped</H3>

<PRE>
public <A HREF="nativetypes.html#detail_boolean" title="">boolean</A> <B>isTransactionScoped</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		Is this transaction scoped or not
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to be stored</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="register()"><!-- --></A><H3>
register</H3>

<PRE>
public <A HREF="nativetypes.html#detail_any" title="">any</A> <B>register</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		Registers the TransferObject for caching with a soft reference, returns java.lang.ref.SoftReference
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to be registered</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="retrieveCache()"><!-- --></A><H3>
retrieveCache</H3>

<PRE>
public <A HREF="nativetypes.html#detail_any" title="">any</A> <B>retrieveCache</B>(<a href="nativetypes.html#detail_string">string</a> class)</PRE>
<DL>
  <DD>
  	
  	
		Returns a com.compoundtheory.objectcache.CacheManager
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> class</code> - The name of the class</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setCacheConfigManager()"><!-- --></A><H3>
setCacheConfigManager</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setCacheConfigManager</B>(<a href="contentf50c.html">CacheConfigManager</a> CacheConfigManager)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="contentf50c.html">CacheConfigManager</a> CacheConfigManager</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setCacheSynchronise()"><!-- --></A><H3>
setCacheSynchronise</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setCacheSynchronise</B>(<a href="content479a.html">CacheSynchronise</a> CacheSynchronise)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content479a.html">CacheSynchronise</a> CacheSynchronise</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setFacadeFactory()"><!-- --></A><H3>
setFacadeFactory</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setFacadeFactory</B>(<a href="contenta219.html">FacadeFactory</a> FacadeFactory)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="contenta219.html">FacadeFactory</a> FacadeFactory</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setJavaLoader()"><!-- --></A><H3>
setJavaLoader</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setJavaLoader</B>(<a href="content5093.html">JavaLoader</a> JavaLoader)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content5093.html">JavaLoader</a> JavaLoader</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setMethodInvoker()"><!-- --></A><H3>
setMethodInvoker</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setMethodInvoker</B>(<a href="content2861.html">MethodInvoker</a> MethodInvoker)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2861.html">MethodInvoker</a> MethodInvoker</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setObjectManager()"><!-- --></A><H3>
setObjectManager</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setObjectManager</B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> ObjectManager</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setSoftReferenceHandler()"><!-- --></A><H3>
setSoftReferenceHandler</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setSoftReferenceHandler</B>(<a href="content530f.html">SoftReferenceHandler</a> SoftReferenceHandler)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content530f.html">SoftReferenceHandler</a> SoftReferenceHandler</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setValidateCacheState()"><!-- --></A><H3>
setValidateCacheState</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setValidateCacheState</B>(<a href="content2977.html">ValidateCacheState</a> ValidateCacheState)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2977.html">ValidateCacheState</a> ValidateCacheState</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="synchronise()"><!-- --></A><H3>
synchronise</H3>

<PRE>
public <A HREF="content3bbf.html" title="">transfer.com.TransferObject</A> <B>synchronise</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		syncronises the data, and returns the cached TransferObject if there is one, otherwise returns the original TransferObject
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to syncronise</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="trimTrailingDecimalZeros()"><!-- --></A><H3>
trimTrailingDecimalZeros</H3>

<PRE>
private <A HREF="nativetypes.html#detail_numeric" title="">numeric</A> <B>trimTrailingDecimalZeros</B>(<a href="nativetypes.html#detail_numeric">numeric</a> number)</PRE>
<DL>
  <DD>
  	
  	
		Removes trailing decimal zeros - makes sure numeric values come through the same 
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_numeric">numeric</a> number</code> - The number to format</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="validateIsCached()"><!-- --></A><H3>
validateIsCached</H3>

<PRE>
public <A HREF="nativetypes.html#detail_boolean" title="">boolean</A> <B>validateIsCached</B>(<a href="content3bbf.html">TransferObject</a> transfer)</PRE>
<DL>
  <DD>
  	
  	
		validates if a TransferObject is the same one as in cache
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to syncronise</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ccache%5CCacheManager%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:28 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>